package com.qk.exception;

import com.aliyun.oss.ClientException;
import com.aliyun.oss.OSSException;

/**
 * @Author: zhangchuang
 * @Date: 2025/10/10 20:33
 * @Description: 阿里云OSS异常抛出类
 */
@SuppressWarnings("all")
public class AliyunOSSException extends BaseException{

    /**
     * 抛出阿里云OSS异常
     *
     * @param OSSException OSS异常
     */
    public static void throwOSSException(OSSException oe) {
        throw oe;
    }

    /**
     * 抛出客户端异常
     *
     * @param ClientException 客户端异常
     */
    public static void throwClientException(ClientException ce) {
        throw ce;
    }

}
